/**
 * 
 */
package design_pattern.proxy.searcher;

/**
 * @author linzq
 * 
 */
public class AccessValidator {

  public boolean validate(String userId) {
    if (userId != null && userId.equals("Admin")) {
      return true;
    }
    return false;
  }
}
